diff options
author | Mountain Man <mmosmacs-dev@anu.tgwil.net> | 2023-04-09 18:06:59 -0400 |
---|---|---|
committer | Mountain Man <mmosmacs-dev@anu.tgwil.net> | 2023-04-09 18:06:59 -0400 |
commit | ef2ff9814984734d98f9c2f7c58262925a743e91 (patch) | |
tree | 49bfd857ae915cecbf57608386bb881d6ea512d8 | |
parent | Disable superfluous UI elements in Early Init (diff) | |
download | mmosmacs-ef2ff9814984734d98f9c2f7c58262925a743e91.tar.gz mmosmacs-ef2ff9814984734d98f9c2f7c58262925a743e91.tar.bz2 mmosmacs-ef2ff9814984734d98f9c2f7c58262925a743e91.zip |
Maximize frame in Early Init
Resizing is a major source of visual glitching on startup. Maximizing
the frame during Early Init prevents this.
-rw-r--r-- | early-init.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index 24b53b0..9b5474f 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -35,3 +35,16 @@ | |||
35 | 35 | ||
36 | ;; Disable scroll bars | 36 | ;; Disable scroll bars |
37 | (push '(vertical-scroll-bars . 0) default-frame-alist) | 37 | (push '(vertical-scroll-bars . 0) default-frame-alist) |
38 | |||
39 | |||
40 | ;; --------------------------------- | ||
41 | ;; Maximize frame on startup | ||
42 | ;; ------------------------- | ||
43 | ;; Resizing is one of the primary | ||
44 | ;; sources of visual glitching. | ||
45 | ;; --------------------------------- | ||
46 | |||
47 | (push '(fullscreen . maximized) initial-frame-alist) | ||
48 | (push '(ns-transparent-titlebar . t) default-frame-alist) | ||
49 | (setq frame-inhibit-implied-resize t | ||
50 | frame-resize-pixelwise t) | ||